package com.zxx.pattern.observerPattern.observer3;

/**
 * @author zxx on 2021/3/10
 */
public class TestWeather3 {

    public static void main(String[] args) {
        WeatherData weatherData = new WeatherData();

        CurrentCondituonDisplay display = new CurrentCondituonDisplay(weatherData);

        weatherData.setMeasurements(80, 33, 21.2f);
        weatherData.setMeasurements(443, 44, 234.2f);
        weatherData.setMeasurements(123, 55, 44.2f);

    }

}
